package com.zhangwei.mapper;

import com.zhangwei.pojo.CityInfo;

import com.zhangwei.utils.MyMapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface CityInfoMapper extends MyMapper<CityInfo> {

    List<CityInfo> selectAll();

    CityInfo selectById(int id);

    int insertOne(CityInfo cityInfo);

    int delById(int id);

    int updateOne(CityInfo cityInfo);

}